﻿using System.Data;
using HdhNetQuery;

namespace HdhBlazor.HdhDal
{
    public class HomeService
    {
        public DataTable GetStuInfo()
        {
            string sql = "select * from StudentInfo";
            //HdhcmsMssqlHelper hmh = new HdhcmsMssqlHelper();
            //DataTable dt = hmh.GetDataTable(sql);
            DataTable dt = HdhcmsDataHelperStatic.GetDataTable(sql);
            return dt;
        }
    }
}
